<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../common/taglib.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

session.setAttribute("user", null);
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>     
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
	<script language="JavaScript1.2" type="text/javascript">
<!--
//  Place this in the 'head' section of your page.  

	function delayURL(url) {
		var delay = document.getElementById("time").innerHTML;
		if(delay > 0) {
			delay--;
			document.getElementById("time").innerHTML = delay;
		} else {
			window.top.location.href = url;
	    }
	    setTimeout("delayURL('" + url + "')", 1000); 
	}
//-->
	</script>
	
  </head>
  
  <body>
	正在安全退出，<font color="red"><span id="time">3</span></font>秒钟后自动跳转到登陆页。
	
	<script type="text/javascript">
		delayURL("<c:url value='/home/main'/>");
	</script>
	
  </body>
</html>